|
|
|
|
|
|
|
dozen frames per second, that can add up to more than 100,000 frames, all drawn by hand. To make such an enormous undertaking possible, animators work in large teams. |
|
|
|
|
|
|
|
|
The 100,000 frames must be drawn consistently. No one wants the main characters to become taller or thinner during the film. One way to make the frames consistent is to have a single animator draw every frame. This would be a long process, with no guarantee that the animator's style will remain unchanged over the several years that would probably be needed to finish. |
|
|
|
|
|
|
|
|
A more common strategy is to have senior animators draw frames that show key action in the script. Then less senior animators draw the frames in between the key frames. These animators are called inbetweeners or just tweeners, and the frames they draw are called tweens. By frequently comparing the tweens with the key frames, the animators can keep all the drawings consistent. |
|
|
|
|
|
|
|
|
The sections that follow explain how you can add tweening to your Visual Basic programs. Tweening lets you quickly generate extra animation frames that can make motion appear smoother. |
|
|
|
|
|
|
|
|
The general problem in tweening is to smoothly transform the objects in one key frame into the objects in the next. To keep things simple for the time being, consider only frames that are composed of line segments. Then you can break this problem down into one of transforming the line segments that make up the objects. |
|
|
|
|
|
|
|
|
Figure 9.3 shows a line segment in two key frames. The goal is to create tweens that smoothly transform the line segment on the left into the segment on the right. The following sections describe three approaches you can take. |
|
|
|
|
|
|
|
|
Figure 9.3
The goal of tweening is to smoothly transform one key frame into another. |
|
|
|
|
|